<template>
  <div id="admin">
    <el-container>
      <el-header><slot name="admin-top"></slot></el-header>
      <el-container>
        <el-container>
          <el-aside width="200px"><slot name="admin-aside"></slot></el-aside>
          <el-main><slot name="admin-main"></slot></el-main>
        </el-container>
        <el-footer><slot name="admin-footer"></slot></el-footer>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  name:'Admin'
}
</script>

<style scoped>
  .el-header,.el-footer {
    background-color: #545c64;
  }
  .el-aside {
    background-color: rgba(100, 100, 100, .5);
    color: #333;
    text-align: center;
    line-height: 200px;
    height: 500px;
    margin: 2px 0;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    /* text-align: center;
    line-height: 160px; */
  }
</style>